`
https://leetcode.cn/problems/find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree/
`

/**
 * Definition for a binary tree node.
 * function TreeNode(val) {
 *     this.val = val;
 *     this.left = this.right = null;
 * }
 */
/**
 * @param {TreeNode} original
 * @param {TreeNode} cloned
 * @param {TreeNode} target
 * @return {TreeNode}
 */

var getTargetCopy = function (original, cloned, target) {
  let res = null

  const traverse = (original, cloned) => {
    if (original === null || res) return

    if (original === target) {
      res = cloned
    }

    traverse(original.left, cloned.left)
    traverse(original.right, cloned.right)
  }

  traverse(original, cloned)

  return res
};